index.js
zzmq.dev@gmail.com[dev3]/mathkit[add-gcd-b-function-returns-greatest] / index.js
@ 6f683184
Download
Ladder Summary
- file Add gcd function and export it with comprehensive tests
export function sum(...numbers) {
return numbers.reduce((total, n) => total + n, 0);
}
export { isOdd } from "./src/isOdd.js";
export { isEven } from "./src/isEven.js";
export { min } from "./src/min.js";
export { gcd } from "./src/gcd.js";